package com.easyad.hibernate;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Adplan entity. @author MyEclipse Persistence Tools
 */

public class Adplan implements java.io.Serializable {

	// Fields

	private Integer pid;
	private Date yearweek;
	private Integer medid;
	private Integer adsiteid;
	private String adsitename;
	private Integer adid;
	private String adname;
	private Timestamp sday;
	private Timestamp eday;
	private Integer price;
	private Timestamp ctime;
	private Timestamp dtime;
	private String code;
	private Integer status;

	// Constructors

	/** default constructor */
	public Adplan() {
	}

	/** full constructor */
	public Adplan(Date yearweek, Integer medid, Integer adsiteid,
			String adsitename, Integer adid, String adname, Timestamp sday,
			Timestamp eday, Integer price, Timestamp ctime, Timestamp dtime,
			String code, Integer status) {
		this.yearweek = yearweek;
		this.medid = medid;
		this.adsiteid = adsiteid;
		this.adsitename = adsitename;
		this.adid = adid;
		this.adname = adname;
		this.sday = sday;
		this.eday = eday;
		this.price = price;
		this.ctime = ctime;
		this.dtime = dtime;
		this.code = code;
		this.status = status;
	}

	// Property accessors

	public Integer getPid() {
		return this.pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Date getYearweek() {
		return this.yearweek;
	}

	public void setYearweek(Date yearweek) {
		this.yearweek = yearweek;
	}

	public Integer getMedid() {
		return this.medid;
	}

	public void setMedid(Integer medid) {
		this.medid = medid;
	}

	public Integer getAdsiteid() {
		return this.adsiteid;
	}

	public void setAdsiteid(Integer adsiteid) {
		this.adsiteid = adsiteid;
	}

	public String getAdsitename() {
		return this.adsitename;
	}

	public void setAdsitename(String adsitename) {
		this.adsitename = adsitename;
	}

	public Integer getAdid() {
		return this.adid;
	}

	public void setAdid(Integer adid) {
		this.adid = adid;
	}

	public String getAdname() {
		return this.adname;
	}

	public void setAdname(String adname) {
		this.adname = adname;
	}

	public Timestamp getSday() {
		return this.sday;
	}

	public void setSday(Timestamp sday) {
		this.sday = sday;
	}

	public Timestamp getEday() {
		return this.eday;
	}

	public void setEday(Timestamp eday) {
		this.eday = eday;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Timestamp getCtime() {
		return this.ctime;
	}

	public void setCtime(Timestamp ctime) {
		this.ctime = ctime;
	}

	public Timestamp getDtime() {
		return this.dtime;
	}

	public void setDtime(Timestamp dtime) {
		this.dtime = dtime;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}